package com.MRSyc.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Fxq
 * @since 2021-01-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_udi_Code")
public class TUdiCode extends Model<TUdiCode> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "fmaterialNumber")
    private String fmaterialNumber;

    @TableField("ftrackingCode")
    private String ftrackingCode;

    private Integer finterid;

    private String fduedate;

    @TableField("fproductUniName")
    private String fproductUniName;

    @TableField("fproductionDate")
    private String fproductionDate;


    @Override
    protected Serializable pkVal() {
        return this.fmaterialNumber;
    }

}
